﻿using System;
using System.Collections.Generic;
//using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UNSWThinkDBTool
{
   class BackupCell
   {
      private string tabPageName;
      private int rowIndex;
      private int columnIndex;
      //private int recordID;
      private object value;
      private Type valueType;

      public BackupCell()
      {
         tabPageName = "";
         rowIndex = 0;
         columnIndex = 0;
         //recordID = 0;
         value = null;
         valueType = null;
      }

      public BackupCell(string tabPageName, int rowIndex, int columnIndex, /*int recordID,*/ object value, Type valueType)
      {
         this.tabPageName = tabPageName;
         this.rowIndex = rowIndex;
         this.columnIndex = columnIndex;
         //this.recordID = recordID;
         this.value = value;
         this.valueType = valueType;
      }

      public string TabPageName
      {
         get
         {
            return tabPageName;
         }

         set
         {
            tabPageName = value;
         }
      }

      public int RowIndex
      {
         get
         {
            return rowIndex;
         }

         set
         {
            rowIndex = value;
         }
      }

      public int ColumnIndex
      {
         get
         {
            return columnIndex;
         }

         set
         {
            columnIndex = value;
         }
      }

      /*public int RecordID
      {
         get
         {
            return recordID;
         }

         set
         {
            recordID  = value;
         }
      }*/

      public object Value
      {
         get
         {
            return value;
         }

         set
         {
            this.value = value;
         }
      }

      public Type ValueType
      {
         get
         {
            return valueType;
         }

         set
         {
            valueType = value;
         }
      }
   }
}
